<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<!-- 页面头部【start】 -->
	<head>
	<link href="<%=basePath%>images/favicon1.ico" rel="Shortcut Icon"/>
		<link rel="Bookmark" href="<%=basePath%>images/favicon1.ico"/>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta name="keywords" content="瑞中瑞 R&R" />
		<meta name="description" content="瑞中瑞 R&R" />
		<link rel="stylesheet" type="text/css" href="<%=basePath%>share/css/style.css" />
		<script type="text/javascript" language="javascript"
			src="<%=basePath%>share/js/jquery-1.4.3.min.js"></script>
		<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=true&amp;key=ABQIAAAAjmLlEwDtgGcOe3C98O_zYhS5-Nfk7nrbyjaZzLrjHCnlfVa14BQrWP_8d4zCu_v9Vl29q7YG5VtDYg" type="text/javascript"></script>
		<script>
			//加载地图    
			  function load() {     
				  if (GBrowserIsCompatible()) {     
					  var map = new GMap2(document.getElementById("map"));     
					  map.addControl(new GSmallMapControl());    //放大缩小    
					  map.addControl(new GMapTypeControl());     //地图种类    
					  map.enableScrollWheelZoom();    //启用鼠标滚轮    
					  map.setCenter(new GLatLng(22.718832,114.066815), 15);   //地图坐标 三个参数分别为 "纬度" "经度" "比例尺"    
					 
					  function createMarker(point, address,name,tel) {  //创建标记内容及标记的鼠标事件    
						 var marker = new GMarker(point);    
						 var html = '<table>'+    
							 '<tr><td><strong style="color:#000000">'+ name +'</strong><br />'+    
							 '<a >'+$("#mapadd").val()+":"+address +'</a><br/>'+  
<%--							 '<a >'+address2+'</a><br/>'+--%>
							 '<a >'+$("#maptel").val()+':'+tel +'</a>'+ 
							 '</td><td><img src="<%=basePath%>images/favicon.png" /></td></tr>'+ 
							 '</table>'; 
						 marker.openInfoWindowHtml(html);    
						 GEvent.addListener(marker, "mouseover", function() {    
							 marker.openInfoWindowHtml(html);    
						 });
						 //GEvent.addListener(marker, "mouseout", function() {    
						 //    marker.closeInfoWindow();    
						 //});    
						 GEvent.addListener(marker, "click", function() {    
							 map.setCenter(point, 12);     
						 });    
						 return marker;    
					 }    
					 var point = new GLatLng(22.718832,114.066815);     // 设置标记    
					 map.addOverlay(createMarker(point,$("#mapaddress").val(),$("#maptitle").val(),'+86-0755-81472729'));//加入标记    
				 }      
		 } 
		</script>
		<title><s:property value="%{getText('Navigation7')}"/> -- <s:property value="%{getText('Company_Title')}"/></title>
	</head>
	<!--  页面头部【end】 -->
	<body class="body1" onload="load()">
		<input type="hidden" id="maptitle" value="<s:property value="%{getText('Map_Title')}"/>" />
		<input type="hidden" id="mapaddress" value="<s:property value="%{getText('Map_Address')}"/>" />
		<input type="hidden" id="maptel" value="<s:property value="%{getText('Map_Tel')}"/>" />
		<input type="hidden" id="mapadd" value="<s:property value="%{getText('Address')}"/>" />
		<div id="getValues" value="view" style="display: none;"></div>
		<div id="getParams"
			value="a:3:{s:2:&quot;_m&quot;;s:10:&quot;mod_static&quot;;s:2:&quot;_a&quot;;s:4:&quot;view&quot;;s:5:&quot;sc_id&quot;;s:1:&quot;1&quot;;}"
			style="display: none;"></div>
		<div id="main_div">
			<div id="top">
				<jsp:include page="/share/jsp/head.jsp"></jsp:include>
				<jsp:include page="/share/jsp/navigation_bar.jsp"></jsp:include>
			</div>
			<div class="web_bg">
				<div id="mainmain">
					<div id="main_con">
						<div class="web_bg">
							<div id="left2">
<%--								<jsp:include page="/share/jsp/banner.jsp"></jsp:include>--%>
								<div class="art_list" style="position: relative;">									
									<h3 class="blk_t" style="margin-bottom: 0px">
										<s:property value="%{getText('Navigation7')}"/>
									</h3>
									<div id="sta_content" style="padding-top: 0px">
										<div class="custom_con"  style="padding-top: 0px">
											<p align="center">
<%--												<iframe width="425" height="350" frameborder="0" scrolling="no" --%>
<%--												src=" http://ditu.google.cn/maps?f=q&amp;source=s_q&amp;hl=zh-CN&amp;geocode=&amp;q=%E4%B8%8A%E6%B5%B7&amp;sll=35.86166,104.195397&amp;sspn=42.363174,93.076172&amp;ie=UTF8&amp;hq=&amp;hnear=%E4%B8%8A%E6%B5%B7%E5%B8%82&amp;brcurrent=3,0x35b27040b1f53c33:0x295129423c364a1,0%3B5,0,0&amp;ll=31.230708,121.472916&amp;spn=0.411,0.583649&amp;z=10&amp;iwloc=A&amp;output=embed"--%>
<%--												 marginheight="0" marginwidth="0"></iframe>--%>
													<div id="map" style="height: 495px; width:794"></div>
												<br/>
													<small><a href="http://ditu.google.cn/maps?f=q&source=embed&hl=zh-CN&geocode=&q=瑞中瑞实业有限公司&sll=22.718832,114.066815&sspn=22.718832,114.066815&ie=UTF8&hq=&hnear=<s:property value="%{getText('Map_Address')}"/>&ll=22.718832,114.066815&spn=0.411,0.583649&z=10&iwloc=A"
														style="color: rgb(0, 0, 255); text-align: left;" target="_blank">查看大图</a>
													</small>
											</p>
											<table width="450" cellspacing="10" cellpadding="0"
												border="0" align="center"
												style="width: 509px; height: 222px;">
												<tbody>
													<tr>
														<td height="25" colspan="2">
															&nbsp;
														</td>
													</tr>
													<tr>
														<td>
															&nbsp;
															<img width="243" height="160"
																src="<%=basePath%>connectus/contact.jpg" alt="" />
														</td>
														<td>
															<p>
																<s:property value="%{getText('Address')}"/>:${connectUs.address }
															</p>
															<p>
																<s:property value="%{getText('Phone')}"/>:${connectUs.telephone }
																<br />
																<s:property value="%{getText('Mailbox')}"/>:${connectUs.email }
																<br />
																<s:property value="%{getText('Zip_Code')}"/>:${connectUs.zipcode }
																<br />
																<s:property value="%{getText('Fax')}"/>:${connectUs.fax }
															</p>
														</td>
													</tr>
												</tbody>
											</table>
											<p>
												<!--StartFragment -->
											</p>
										</div>
									</div>
									<img alt="" src="<%=basePath%>share/images/bag_30.jpg">	
								</div>
							</div>
							<div id="right">
								<jsp:include page="/share/jsp/latest_articles.jsp"></jsp:include>
								<jsp:include page="/share/jsp/links.jsp"></jsp:include>
							</div>
							<div class="blankbar"></div>
						</div>
					</div>
				</div>
			</div>
			<!-- 页脚【start】 -->
			<jsp:include page="/share/jsp/tail.jsp"></jsp:include>
			<!-- 页脚【end】 -->
		</div>
	</body>
</html>